⏹️ algorithm ver.2